package com.heima.article.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.article.mapper.ApArticleMapper;
import com.heima.model.article.dtos.ArticleHomeDto;
import com.heima.model.article.pojos.ApArticle;
import com.heima.model.common.dtos.ResponseResult;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: ly
 * @Date: 2021/08/22/17:00
 * @Description:
 */

public interface ApArticleService extends IService<ApArticle> {

    /*
    * 加载文章列表
    * 1：加载更多   2：加载最新
    * */
    public ResponseResult  load(ArticleHomeDto dto ,Short type);
}
